home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / adq10.zip / ADQ.DOC next >
Text File  |  1991-12-23  |  15KB  |  365 lines

  1. ADVANCED DOS QUIZ DOCUMENTATION
  2.  
  3.  
  4. 1.  What is Advanced DOS Quiz?
  5. 2.  Running Advanced DOS Quiz
  6. 3.  Advanced DOS Quiz Questions
  7. 4.  Registration Info
  8.  
  9. WHAT IS ADVANCED DOS QUIZ?
  10.  
  11.  
  12.      If you thought that DOS Quiz was hard, just give Advanced DOS Quiz (ADQ) a
  13. try!  If you thought that DOS Quiz was easy, then try out the questions in ADQ
  14. and see your 100% score turn into a 50% score!
  15.  
  16.      Like DOS Quiz, ADQ is quick and easy way to use.  It can be used to test
  17. anyone on their knowledge of very advanced DOS commands.  ADQ is completely
  18. taken on a DOS computer, and is completely self-contained.  It takes the user
  19. through a series of 20 questions, asking the user to perform unusual, difficult,
  20. or arcane tasks in DOS.  Unlike DOS Quiz, all 20 questions in ADQ are
  21. categorized as Advanced.
  22.  
  23.      At the end of ADQ, a score screen is displayed, which shows a listing of
  24. all of the questions asked, what the main concept of each question was, and
  25. whether the user answered the question correctly or not.  The number and
  26. percentage correct of the all questions asked is also displayed.
  27.  
  28.      ADQ is probably too advanced to be use as a test in an office environment,
  29. though if a position requires a high degree of DOS skill, this may be just the
  30. ticket.  Otherwise, ADQ should be used as a test of your total DOS knowledge,
  31. and as a tutor for some of DOS's more obscure commands.  As with DOS Quiz, ADQ
  32. supports many different syntactical uses of each command and may teach you new
  33. ways of doing old things.
  34.  
  35.      However, it does not cover all switches of all commands.  There are, after
  36. all, only 20 questions.  So if a particular command piques your interest, see
  37. your DOS manual or on-line help (DOS 5.0 and above) for more on that command.
  38.  
  39. RUNNING ADVANCED DOS QUIZ
  40.  
  41.      Running ADQ is really quite simple - all you need to do is type ADQ at the
  42. DOS prompt and away you go.  The program is completely self-contained, so no
  43. outside files are needed.  The program is small, so it will run on nearly any
  44. DOS machine.  
  45.  
  46.      As with DOS Quiz, ADQ requires a color monitor.  Monochrome monitors that
  47. emulate color monitors (such as b/w VGA) will work fine.  The use of color in
  48. the program has been kept to a minimum to allow usage on a wide range of
  49. computers.  A true monochrome version is available to anyone who registers their
  50. copy of ADQ.
  51.  
  52.      After typing in ADQ, an intro screen will appear.  After pressing any key
  53. as requested, the user will be prompted for his or her name and Social Security
  54. Number.  This is for score-sheet identification purposes.  The user is asked to
  55. verify his or her entry.  An instruction screen will then appear.  After reading
  56. the instructions and pressing any key, the quiz begins.
  57.  
  58.      After finishing 20 questions, the score screen will appear.  It may be
  59. printed if there is a printer hooked to the computer's default printer port and
  60. if <Shift>-<PrtScreen> is pressed.  After pressing any key on the score screen,
  61. the user will be asked if the quiz is to be taken again.  This is a Yes or No
  62. question.  If Yes, the screen will go back to the Name/SSN screen.  If No, then
  63. ADQ will return control to DOS.
  64.  
  65.      If a user does not know the answer to a question, he or she can either
  66. guess or just press ENTER to skip answering.  ADQ will mark the question as
  67. being incorrectly answered and move on.
  68.  
  69. ADVANCED DOS QUIZ QUESTIONS
  70.  
  71.      The following is a listing of all questions asked in ADQ, and their correct
  72. responses.  Note that though the "correct" answers are all presented here in
  73. uppercase, all variations of upper and lower case are valid, as in DOS.  Note
  74. also that though they are not listed as valid responses, spaces are not required
  75. before switches.  For example, CHKDSK/V is the same as CHKDSK /V.  No spaces are
  76. required, either, when redirection is used, though not all of these responses
  77. are listed.  The following two commands are the same: DEBUG<TEST.SCR and
  78. DEBUG < TEST.SCR.  ADQ recognizes all such combinations.
  79.  
  80.  
  81. 1.  Transfer system files to a diskette
  82.  
  83. The user will be asked to type a command that will transfer the system files
  84. from the current hard disk to the diskette in drive A.  Though not mentioned in
  85. the Quiz, these files are the hidden files IO.SYS and MSDOS.SYS and COMMAND.COM. 
  86. The valid answers are:
  87.      
  88.      SYS A:    SYS C: A:      SYS \ A:       SYS C:\ A:
  89.  
  90.  
  91. 2.  Use CHKDSK to show all files on drive, plus memory
  92.  
  93. The user will be asked to type the command that will show all files on the
  94. current drive, report disk usage, and report memory usage.  The valid responses
  95. are:
  96.  
  97.      CHKDSK /V      CHKDSK /V C:   CHKDSK /V C:\       CHKDSK C: /V
  98.      CHKDSK C:\ /V  CHKDSK /V \    CHKDSK \ /V
  99.  
  100. If a \ is given as part of any command, the CHKDSK command will print "File not
  101. found" at the end of the listing - ADQ will, too.
  102.  
  103.  
  104. 3.  Use ECHO to dial a phone number with a modem
  105.  
  106. The user will be told to assume that there is a modem installed as COM1.  The
  107. user will be told to use the ECHO command and the Hayes-compatible AT command-
  108. set to dial the number 555-1212.  The valid answers are:
  109.  
  110.      ECHO ATDT5551212 > COM1       ECHO ATDT 5551212 > COM1
  111.      ECHO ATDT5551212 > COM1:      ECHO ATDT 5551212 > COM1:
  112.  
  113. In addition, the ATDP command may be used in place of ATDT, for use with pulse-
  114. dialing.  Also, a dash (-) may be placed in between the 555 and the 1212.
  115.  
  116.  
  117. 4.  Delete all two-character files with wildcards
  118.  
  119. The user will be placed in the C:\QUIZ directory and be asked to use a DOS
  120. command and wildcards to delete all files that have a two-letter filename.  This
  121. is probably one of the easier questions in ADQ.  Valid responses are:
  122.  
  123.      DEL ??         DEL .\??       DEL ..\QUIZ\??      DEL \QUIZ\??
  124.  
  125. In addition, the ERASE command may replace the DEL command.
  126.  
  127.  
  128. 5.  Use LABEL or VOL to show volume label
  129.  
  130. The user will be asked to type the command that will allow them to see the
  131. volume label of the current drive (C).  The user is warned not to use the DIR
  132. command to accomplish this task.  That would be too easy.  The user is also told
  133. not to try to change the volume label.  Valid responses are:
  134.  
  135.      LABEL          LABEL C:       VOL       VOL C:
  136.  
  137. The difference between the LABEL command and the VOL command is that the LABEL
  138. command automatically asks you for a new volume label, whereas VOL merely shows
  139. you the volume label.  By passing LABEL a new volume label, the label is changed
  140. without prompting.  As ADQ uses DOS 5.0 responses, it will show the volume
  141. serial number as well.  This will not happen on all versions of DOS.
  142.  
  143.  
  144. 6.  Use COPY to combine two files into one
  145.  
  146. The user will be asked to join the files FILE1.DOC and FILE2.DOC into one file,
  147. entitled FILE3.DOC, using the COPY command.  The user is advised that the files
  148. are all in or to be in the current directory, C:\QUIZ, and is warned not to use
  149. any pathnames in the command.  The reason that pathnames are not used here is
  150. because of the overwhelming number of possible valid responses to check for when
  151. pathnames are permitted.  For ADQ's purposes, the following is the valid
  152. response:
  153.  
  154.      COPY FILE1.DOC+FILE2.DOC FILE3.DOC
  155.  
  156. Note that ADQ will allow a space on either or both sides of the + sign.  Also,
  157. since it does not explicitly state which file's contents are to be first in the
  158. destination file, placing FILE2.DOC before FILE1.DOC in the above answer is also
  159. correct.
  160.  
  161.  
  162. 7.  Create a COM file with DEBUG and redirection
  163.  
  164. The user will be told to type in the command that will redirect the contents of
  165. the file TEST.SCR in the C:\QUIZ directory to the DEBUG command.  The user is
  166. warned not to use the TYPE command.  Valid responses are:
  167.  
  168.      DEBUG < TEST.SCR              DEBUG < .\TEST.SCR  
  169.      DEBUG < ..\QUIZ\TEST.SCR      DEBUG < \QUIZ\TEST.SCR
  170.  
  171. In DOS, the command TYPE TEST.SCR | DEBUG has the same effect, but this question
  172. was not intended to be a test of the use of TYPE.
  173.  
  174.  
  175. 8.  Use FIND to find strings in a file
  176.  
  177. The user is asked to find the string "DOS QUIZ" in the file TEST.DOC in the
  178. current directory, C:\QUIZ.  The user is warned not to use redirection in the
  179. command.  The following are valid responses:
  180.  
  181.      FIND "DOS QUIZ" TEST.DOC           FIND "DOS QUIZ" .\TEST.DOC
  182.      FIND "DOS QUIZ" ..\QUIZ\TEST.DOC   FIND "DOS QUIZ" \QUIZ\TEST.DOC
  183.  
  184. Using redirection, the following command would be valid: 
  185.      TYPE TEST.DOC | FIND "DOS QUIZ"
  186. As with question 7, however, this question is not a test of the use of TYPE.
  187.  
  188.  
  189. 9.  Show files in a directory with DIR and wildcards
  190.  
  191. Another relatively simple command, the user is asked to show all files in the
  192. current directory, C:\QUIZ, that have the letter D as the first letter of their
  193. filename and extension.  The user is warned not to use a pathname, for the
  194. reason stated in question 6.  The following are valid responses:
  195.  
  196.      DIR D*.D*      DIR D???????.D*     DIR D*.D??     DIR D???????.D??
  197.  
  198.  
  199. 10.  Make a file hidden
  200.  
  201. The user is asked to make the file TEST.DOC in the current directory, C:\QUIZ, a
  202. hidden file.  Valid answers are:
  203.  
  204.      ATTRIB +H TEST.DOC            ATTRIB +H .\TEST.DOC
  205.      ATTRIB +H ..\QUIZ\TEST.DOC    ATTRIB +H \QUIZ\TEST.DOC
  206.  
  207. The +H may also be placed after the filename.
  208.  
  209. 11.  Set the baud rate of a COM port
  210.  
  211. The user is told to set the baud rate of COM1 to 9600.  The following are valid
  212. responses:
  213.  
  214.      MODE COM1 96             MODE COM1 9600           MODE COM1 BAUD=96
  215.      MODE COM1 BAUD=9600      MODE COM1: 96            MODE COM1: 9600
  216.      MODE COM1: BAUD=96       MODE COM1: BAUD=9600
  217.  
  218.  
  219. 12.  Copy changed files and update archive bit
  220.  
  221. The user is asked to type in the command that will copy all files in the current
  222. directory, C:\QUIZ, with a .DOC extension to the diskette in drive A, but only
  223. those files that have their archive bit set.  At the same time, the archive bit
  224. is to be reset if the file is copied successfully.  The following responses are
  225. valid:
  226.  
  227.      XCOPY /M *.DOC A:             XCOPY /M .\*.DOC A: 
  228.      XCOPY /M ..\QUIZ\*.DOC A:     XCOPY /M \QUIZ\*.DOC A:
  229.  
  230. The /M switch may be located either after the XCOPY, the *.DOC, or the A:
  231. section of the response and still be considered valid.
  232.  
  233.  
  234. 13.  Sort a file
  235.  
  236. The user is asked to sort the file FILE1.DOC, placing the sorted data in the
  237. file FILE2.DOC, both of which are in the current directory, C:\QUIZ.  The user
  238. is warned not to use the TYPE command.  The following are valid:
  239.  
  240.      SORT < FILE1.DOC > FILE2.DOC       SORT > FILE2.DOC < FILE1.DOC
  241.  
  242. Using the TYPE command, the following would be valid:
  243.      TYPE FILE1.DOC | SORT > FILE2.DOC
  244. However, as stated in previous questions, this is not a test of the usage of the
  245. TYPE command.
  246.  
  247.  
  248. 14.  Print out a file to the default printer
  249.  
  250. The user is asked to the COPY command to send the file TEST.DOC in the current
  251. directory, C:\QUIZ, to the standard parallel printer port.  The following are
  252. valid answers:
  253.  
  254.      COPY TEST.DOC PRN             COPY TEST.DOC PRN:
  255.      COPY TEST.DOC LPT1            COPY TEST.DOC LPT1:
  256.      COPY .\TEST.DOC PRN           COPY .\TEST.DOC PRN:
  257.      COPY .\TEST.DOC LPT1          COPY .\TEST.DOC LPT1:
  258.      COPY ..\QUIZ\TEST.DOC PRN     COPY ..\QUIZ\TEST.DOC PRN:
  259.      COPY ..\QUIZ\TEST.DOC LPT1    COPY ..\QUIZ\TEST.DOC LPT1:
  260.      COPY \QUIZ\TEST.DOC PRN       COPY \QUIZ\TEST.DOC PRN:
  261.      COPY \QUIZ\TEST.DOC LPT1      COPY \QUIZ\TEST.DOC LPT1:
  262.  
  263. FYI, the TYPE command could be used in the following manner for the same result:
  264.      TYPE TEST.DOC | PRN
  265.  
  266.  
  267. 15.  View a file one screen at a time
  268.  
  269. Finally, no warnings against using TYPE!  The user is asked to use DOS commands
  270. that will display the file TEST.DOC in the current directory, C:\QUIZ, on the
  271. screen one screen at a time.  The following are valid:
  272.  
  273.      MORE < TEST.DOC               MORE < .\TEST.DOC
  274.      MORE < ..\QUIZ\TEST.DOC       MORE < \QUIZ\TEST.DOC
  275.      TYPE TEST.DOC | MORE          TYPE .\TEST.DOC | MORE
  276.      TYPE .\QUIZ\TEST.DOC | MORE   TYPE \QUIZ\TEST.DOC | MORE
  277.  
  278.  
  279. 16.  Create a file from the keyboard and screen (CON)
  280.  
  281. The user is told to type the command that will allow the user to create the file
  282. TEST.BAT in the current directory, C:\QUIZ.  The following responses are valid:
  283.  
  284.      COPY CON TEST.BAT             COPY CON .\TEST.BAT
  285.      COPY CON ..\QUIZ\TEST.BAT     COPY CON \QUIZ\TEST.BAT
  286.      TYPE CON > TEST.BAT           TYPE CON > .\TEST.BAT
  287.      TYPE CON > ..\QUIZ\TEST.BAT   TYPE CON > \QUIZ\TEST.BAT
  288.  
  289. All above instances of CON may be replaced by CON: as well.
  290.  
  291.  
  292. 17.  Call a batch file from within another batch file
  293.  
  294. The user is asked to type the command that will allow the batch file GO.BAT to
  295. be called by the batch file being created by a COPY CON type command.  Once
  296. GO.BAT has completed, it should return control to the calling batch file.  The
  297. user is told to assume that GO.BAT is in a directory in the PATH variable.  The
  298. following are valid:
  299.  
  300.      CALL GO.BAT         COMMAND /C GO.BAT        COMMAND /CGO.BAT
  301.  
  302.  
  303. 18.  Delete files with prompting
  304.  
  305. The user will be asked to type the command that will delete all .DOC files in
  306. the current directory, C:\QUIZ. However, the command should prompt the user
  307. before performing the deletion.  The valid answers are:
  308.  
  309.      DEL *.DOC /P             DEL .\*.DOC /P
  310.      DEL ..\QUIZ\*.DOC /P     DEL \QUIZ\*.DOC /P
  311.  
  312. The ERASE command may replace the DEL command.  The /P MUST be at the end of the
  313. command.
  314.  
  315.  
  316. 19.  Make a logical drive out of a directory
  317.  
  318. The user is asked to make the directory C:\QUIZ into a logical drive named D. 
  319. The user will run the command from C:\.  The following are valid:
  320.  
  321.      SUBST D: \QUIZ      SUBST D: QUIZ       SUBST D: C:\QUIZ
  322.  
  323.  
  324. 20.  Reset the DOS PATH environment variable
  325.  
  326. The user is asked to clear the search-path setting.  The following are valid:
  327.  
  328.      PATH;          PATH ;
  329.  
  330. ADVANCED DOS QUIZ REGISTRATION
  331.  
  332.                                   Registration
  333.  
  334. ADQ is shareware, and I retain all copyrights to the program.  If you use and
  335. like ADQ, I request that you donate $15 to continue to use it.  If you do, and
  336. also send a diskette (5¼ or 3½ Double or High density), I will include any new
  337. version of ADQ, as well as any bonus utilities I have written at that time. 
  338. Please enclose an extra $1 to cover postage, and be sure to enclose your
  339. address. 
  340.  
  341. If you would like a customized version of ADQ, please contact me for a quote on
  342. time and cost (if any).  Registering your copy of DOS Quiz (and sending a
  343. diskette with your registration) will automatically get you the monochrome
  344. version of DOS Quiz.
  345.  
  346.  
  347. Steve Mount 
  348. RR 1 Box 320 
  349. Starksboro, VT  05487-9702 
  350.  
  351.  
  352. Contact me on CompuServe:  ID 73720,3404
  353.  
  354.  
  355. THE ADQ PROGRAM AND THIS MANUAL ARE COPYRIGHTED DOCUMENTS.  THE OWNER OF THE
  356. COPYRIGHT GIVES OTHERS PERMISSION TO DISTRIBUTE UNALTERED COPIES OF THE PROGRAM
  357. AND DOCUMENTATION TO OTHER INTERESTED PARTIES.  THIS PROGRAM IS NOT IN THE
  358. PUBLIC DOMAIN.  IF YOU USE ADQ, PLEASE PAY THE REGISTRATION FEE.  IT WILL ENSURE
  359. CONTINUED GROWTH OF THE PROGRAM FOR ALL USERS.
  360.  
  361. ADQ AND DOCUMENTATION COPYRIGHT (C) 1991 BY STEVE MOUNT 
  362. ALL RIGHTS RESERVED. 
  363.  
  364.  
  365.